#ifndef _server_session_layer_h
#define _server_session_layer_h

/* operation codes definition */
enum opcodeT {ADD_OP, SUB_OP, MULT_OP, DIV_OP};

/* request package data type */
typedef struct req_package
{
	unsigned char opcode;
	double op1;
	double op2;
} req_packageT;

/* answer package data type */
typedef struct ans_package
{
	double ans;
} ans_packageT;

/* generates the calculation answer */
int getResponse(void* responseData, void* receiveData);

#endif


